import 'package:flutter/material.dart';
import 'package:flutter_applearnprogrom/base/view.dart';

class  MenuView extends  StatefulWidget{
  @override
  _MenuViewState createState() => _MenuViewState();
}

class _MenuViewState extends State<MenuView> {
  @override
  void initState() {
    // TODO: implement initState
    super.initState();
  
  
  }
  @override
  Widget build(BuildContext context) {
    // TODO: implement build
    return  Scaffold(
      appBar: getAppbarActions(
        "菜单",
        [
          IconButton(
            icon: Icon(Icons.settings),
            onPressed: () {
              Navigator.of(context).pushNamed("theme");
            },
          )
        ],
      ),

      
    );
  }

}